home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 17
/
CU Amiga Magazine's Super CD-ROM 17 (1997)(EMAP Images)(GB)[!][issue 1997-12].iso
/
CUCD
/
Programming
/
Gui4Cli
/
Tools
/
rexx
/
G4C.Rexx
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
OS/2 REXX Batch file
|
1980-01-03
|
406 b
|
22 lines
/* Rexx script to talk to Gui4Cli */
/* Run this script from a shell by writting RX G4C */
/* You can then write commands to Gui4Cli - <Ctrl-C> exits */
address 'Gui4Cli'
options results
signal on BREAK_C
do forever
say "G4C>"
pull command
interpret command
if RC = 0 then say "OK"
else say "Command returned: " RC
if result ~= "RESULT" then say result
drop result
end
BREAK_C:
exit